package cn.yhp.chatgpt.data.domain.openai.service.rule;

import cn.yhp.chatgpt.data.domain.openai.model.aggregates.ChatProcessAggregate;
import cn.yhp.chatgpt.data.domain.openai.model.entity.RuleLogicEntity;

/**
 * 规则过滤接口
 * @author yhp
 * @date 2024/2/7
 */
public interface ILogicFilter {

    /**
     * 规则过滤接口
     * @param chatProcess
     * @return
     */
    RuleLogicEntity<ChatProcessAggregate> filter(ChatProcessAggregate chatProcess) throws Exception;
}
